home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Just-In-Time Debugger.xpl < prev    next >
Text File  |  2003-11-07  |  2KB  |  40 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="1"
  3. "COUNT"="1"
  4. "UIPATH"="System\Debugging\"
  5. "NAME"="Just-In-Time Debugger"
  6. "VERSION"="1.22"
  7. "OSVERSION"="0101011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Debugger"
  10. "DESCRIPTION 1"="This settings shows if you have a Just-In-Time Debugger installed.  If the box is empty, you may enter a path manually if you wish to use one.  Note: This requires a third party utility such as Norton CrashGuard.
  11. "DESCRIPTION 2"="A debugger is usually used by a developer to correct programs in case of a failure or crash so this field should usually be empty if you are not a developer, or if you do not have an anti-crash program such as Norton CrashGuard or Mijenix Fix-It Utilities installed. If Norton CrashGuard is installed, the box should say something similar to this:"
  12. "DESCRIPTION 3"="C:\Program Files\Norton CrashGuard\CG32EH.EXE /p%ud /e%ud"
  13. "DESCRIPTION 4"="On Windows 2000, it normally says:"
  14. "DESCRIPTION 5"="drwtsn32 -p %ld -e %ld -g"
  15. "DESCRIPTION 6"="You may have a blank entry if no such utility is present on your system, or you may specify one manually.  It is not necessary to have one listed for your system to work properly."
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.xteq.com"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"=" "
  20. "COMMENT 2"="Thanks to CptSiskoX for his help!"
  21.  
  22.  
  23. sPath="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AEDebug\Debugger"
  24. Sub Plugin_Initialize 
  25.     s=RegReadValue(sPath)
  26.     Call SetUIElement(1,s)
  27. End Sub
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  s=GetUIElement(1)
  34.  Call RegWriteValue(sPath,s,1)
  35.  Call Restart
  36. End Sub
  37.  
  38. Sub Plugin_Terminate 
  39. End Sub
  40.